import Mock from "mockjs";
import course from "./course";
import home from "./home";
import login from "./login";
import finance from "./finance";
import orderform from "./orderform";
import student from "./student";

// 登录

Mock.mock(/\/login/, "post", login.login);

Mock.mock(/\/register/, "post", login.register);

Mock.mock(/\/getCourseData/, "get", course.getData);

Mock.mock(/\/getfinanceData/, "get", finance.getfinanceData);
Mock.mock(/\/batchDelete/, "post", finance.batchDeleteData);

Mock.mock(/\/getCourseData/, "get", course.getData);
Mock.mock(/\/deleteCourseData/, "post", course.deleteData);
Mock.mock(/\/updateCourseData/, "post", course.updateData);
